package cn.web.provider;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableAutoConfiguration
@ComponentScan(basePackages="cn.web.provider")
public class Application {

    protected static Logger logger = LoggerFactory.getLogger(Application.class);

    public static void main(String[] args){
        logger.info("application begin...");
        SpringApplication.run(Application.class,args);
        logger.info("application end...");
    }

}
